<?php
$name = isset($data->ln->name) ? $data->ln->name : $data->name;
$description = isset($data->ln->description) ? $data->ln->description : $data->description;
$this->pageTitle=Yii::app()->name . ' - '.$name;
$this->breadcrumbs=array(
	$name,
);
?>
<h1><?php echo $name; ?></h1>
<p><?php echo $description; ?></p>
<?php 
$this->renderPartial('_'.$data->template,array(
	'category'=>$data,
	'data'=>$items,
));
?>
<?php 
$this->widget('application.components.widgets.EPaginationView', array('pages'=>$pages));
 ?>